package com.jin.mapper;

import com.jin.pojo.UserLevel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//增删改查
@Mapper
public interface UserLevelMapper {
    //增加用户等级
     int insertUserLevel(UserLevel userLevel);
     //根据id删除用户权限
    int delUserLevel(Integer levelId);
    //修改等级信息
    int updateUserLevel(UserLevel userLevel);
    //查询等级信息
    List<UserLevel> selectUserLevel();


}
